//========================================================//
// Cryptography md5                                       //
// Author: Kozlov Dmitry aka LandFox kozlov@ccfit.nsu.ru  //
// NSU FIT September - October 2004                       //
//========================================================//

#ifndef _MD5_H
#define _MD5_H

#ifndef uint8
#define uint8  unsigned char
#endif

//#include "C:\\Documents and Settings\\sfaktorovich\\My Documents\\remoteconsole2\\vld.h"

#ifndef uint32
#define uint32 unsigned long int
#endif

typedef struct
{
    uint32 total[2];
    uint32 state[4];
    uint8 buffer[64];
}
MD5_CTX;

void MD5_Init( MD5_CTX *ctx );
void MD5_Update( MD5_CTX *ctx, const uint8 *input, uint32 length );
void MD5_Final( uint8 digest[16], MD5_CTX *ctx );

#endif /* md5.h */
